<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Praca magisterska: Dokumentacja pliku C:/Users/boski/Documents/Visual Studio 2008/Projects/cuda/blms/cudacomplex.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_eti_small.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Praca magisterska
   
   </div>
   <div id="projectbrief">Implementacja algorytmów filtracji adaptacyjnej o strukturze transwersalnej na platformie CUDA</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Wygenerowano przez Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Szukaj');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Strona&#160;główna</span></a></li>
      <li><a href="annotated.html"><span>Klasy</span></a></li>
      <li class="current"><a href="files.html"><span>Pliki</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Szukaj" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Lista&#160;plików</span></a></li>
      <li><a href="globals.html"><span>Składowe&#160;plików</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('cudacomplex_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#define-members">Definicje</a> &#124;
<a href="#func-members">Funkcje</a> &#124;
<a href="#var-members">Zmienne</a>  </div>
  <div class="headertitle">
<div class="title">Dokumentacja pliku C:/Users/boski/Documents/Visual Studio 2008/Projects/cuda/blms/cudacomplex.h</div>  </div>
</div>
<div class="contents">

<p>Implementacja obsługi liczb zespolonych.  
<a href="#details">Więcej...</a></p>
<div class="textblock"><code>#include &lt;vector_types.h&gt;</code><br/>
</div>
<p><a href="cudacomplex_8h_source.html">Idź do kodu źródłowego tego pliku.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Definicje</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abbbcf3c42c997889127cc676754a6fea"></a><!-- doxytag: member="cudacomplex.h::HOST" ref="abbbcf3c42c997889127cc676754a6fea" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>HOST</b>&#160;&#160;&#160;static inline</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a775d096fbc3988fb7ed858b79ef44e22"></a><!-- doxytag: member="cudacomplex.h::DEVICE" ref="a775d096fbc3988fb7ed858b79ef44e22" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DEVICE</b>&#160;&#160;&#160;static inline</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a37955bd0f8f367cd2825e16da3486f9a"></a><!-- doxytag: member="cudacomplex.h::HOSTDEVICE" ref="a37955bd0f8f367cd2825e16da3486f9a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>HOSTDEVICE</b>&#160;&#160;&#160;static inline</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a545586ced4fd64f4c718f963d011aa4f"></a><!-- doxytag: member="cudacomplex.h::M_HOST" ref="a545586ced4fd64f4c718f963d011aa4f" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>M_HOST</b>&#160;&#160;&#160;inline</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a895b2b0bb55161d814aed2a5bf0e8f6a"></a><!-- doxytag: member="cudacomplex.h::M_HOSTDEVICE" ref="a895b2b0bb55161d814aed2a5bf0e8f6a" args="" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>M_HOSTDEVICE</b>&#160;&#160;&#160;inline</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abe7f8cd9a0ce69b71567a3870415be66"></a><!-- doxytag: member="cudacomplex.h::ALIGN" ref="abe7f8cd9a0ce69b71567a3870415be66" args="(x)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ALIGN</b>(x)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a865db08af30bc11499f740460c170366"></a><!-- doxytag: member="cudacomplex.h::REF" ref="a865db08af30bc11499f740460c170366" args="(x)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>REF</b>(x)&#160;&#160;&#160;&amp;x</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5571e8599744a35da409503b99a67433"></a><!-- doxytag: member="cudacomplex.h::ARRAYREF" ref="a5571e8599744a35da409503b99a67433" args="(x, y)" -->
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ARRAYREF</b>(x, y)&#160;&#160;&#160;(&amp;x)[y]</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Funkcje</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="cudacomplex_8h.html#a556ec5b82bf0267c56230711173e0de5">ALIGN</a> (8) _cudacomplex</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Zmienne</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acd6833ffb980fa5f5a968f6a2be00036"></a><!-- doxytag: member="cudacomplex.h::cudacomplex" ref="acd6833ffb980fa5f5a968f6a2be00036" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>cudacomplex</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Opis szczegółowy</h2>
<div class="textblock"><p>Implementacja obsługi liczb zespolonych. </p>
<h2><a class="anchor" id="LICENSE"></a>
LICENSE</h2>
<p>Copyright (c) 2008-2009 Christian Buchner &lt;<a href="mailto:Christian.Buchner@gmail.com">Christian.Buchner@gmail.com</a>&gt; All rights reserved.</p>
<p>Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.</p>
<p>THIS SOFTWARE IS PROVIDED BY Christian Buchner ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL Christian Buchner BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. </p>
</div><hr/><h2>Dokumentacja funkcji</h2>
<a class="anchor" id="a556ec5b82bf0267c56230711173e0de5"></a><!-- doxytag: member="cudacomplex.h::ALIGN" ref="a556ec5b82bf0267c56230711173e0de5" args="(8) _cudacomplex" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct ALIGN </td>
          <td>(</td>
          <td class="paramtype">8&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A complex number type for use with CUDA, single precision accuracy. This is deliberately designed to use few C++ features in order to work with most CUDA SDK versions. It is friendlier to use than the cuComplex type because it provides more operator overloads. The class should work in host code and in device code and also in emulation mode. Also this has been tested on any OS that the CUDA SDK is available for. </p>

</div>
</div>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="cudacomplex_8h.html">cudacomplex.h</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Klasy</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Pliki</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Funkcje</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Zmienne</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Definicje</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Wygenerowano Wed Nov 23 2011 12:30:13 dla Praca magisterska programem
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
